package oneD.fem.structure;

public class Tensegrity extends PrestressTruss {

	public Tensegrity() {
		super();
	}

	public void addTrussElement(double rho, double e, double a, double preS,
			int n1, int n2) {
		this.elements_.add(new oneD.fem.element.nonlinear.PrestressTruss(rho, e, a, preS, this.nodes_
				.get(n1), this.nodes_.get(n2)));
	}

	public void addCableElement(double rho, double e, double a, double preS,
			int n1, int n2) {
		this.elements_.add(new oneD.fem.element.nonlinear.Cable(rho, e, a, preS, this.nodes_
				.get(n1), this.nodes_.get(n2)));
	}

}
